home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000153_fdc@columbia.edu_Thu Dec 5 14:07:23 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  51 lines

  1. Article: 13934 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Help with stdout and stderr for kermit95
  6. Date: 5 Dec 2002 14:06:54 -0500
  7. Organization: Columbia University
  8. Lines: 34
  9. Message-ID: <aso84e$16t$1@watsol.cc.columbia.edu>
  10. References: <aso6v9$kr9$1@cpimail.cpicorp.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1039115215 3376 128.59.39.139 (5 Dec 2002 19:06:55 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 5 Dec 2002 19:06:55 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13934
  16.  
  17. In article <aso6v9$kr9$1@cpimail.cpicorp.com>,
  18. Derek Chen-Becker  <dbecker@cpicorp.com> wrote:
  19. :      I'm using a kermit script as a batch transfer utility in windows 
  20. : and  I'm running it from a c# program that acts as a scheduler. There 
  21. : appears to be something strange about how kermit handles console IO 
  22. : because when I try to read fom stderr and stdout on the process that 
  23. : kermit runs in, I get empty streams, although I know there should be 
  24. : output. It works fine under c-kermit on unix, so I was wondering if 
  25. : there is something special I need to do to get kermit to use stderr and 
  26. : stdout under windows like it does in unix.
  27. Kermit 95 does not use stdin/out unless you tell it to:
  28.  
  29.   k95 -h
  30.   ...
  31.   -# <arg>
  32.       Kermit 95 Startup Flags
  33.       Argument:
  34.     1 - turn off Win95 special fixes
  35.     2 - do not load optional network dlls
  36.     4 - do not load optional tapi dlls
  37.     8 - do not load optional kerberos dlls
  38.    16 - do not load optional zmodem dlls
  39.    32 - use stdin for input instead of the console
  40.    64 - use stdout for output instead of the console
  41.   128 - do not terminate process in response to Session Logoff
  42.  
  43. The numbers are additive.  Example:
  44.  
  45.   k95 -# 96
  46.  
  47. To start K95 and have it read from stdin and write to stdout.
  48.  
  49. - Frank
  50.